home *** CD-ROM | disk | FTP | other *** search
/ Visual Cafe 3 / Visual Cafe 3.ISO / Vcafe / Main.bin / JToolBarSeparator.java < prev    next >
Text File  |  1998-09-03  |  1KB  |  42 lines

  1. package com.symantec.itools.swing;
  2.  
  3. import java.awt.Component;
  4. import java.awt.Dimension;
  5.  
  6. // This component would be an extension to JToolBar$Separator if it were static
  7.  
  8. public class JToolBarSeparator
  9.     extends Component
  10. {
  11.         /** Create the separator */
  12.         public JToolBarSeparator() {
  13.         }
  14.         
  15.         /** 
  16.          * Return the minimum size for the separator
  17.          *
  18.          * @return the Dimension object containing the separator's
  19.          *         minimum size
  20.          */
  21.         public Dimension getMinimumSize() {
  22.             return new Dimension(10,5);
  23.         }
  24.         /** 
  25.          * Return the maximum size for the separator
  26.          *
  27.          * @return the Dimension object containing the separator's
  28.          *         maximum size
  29.          */
  30.         public Dimension getMaximumSize() {
  31.             return new Dimension(10,5);
  32.         }
  33.         /** 
  34.          * Return the preferred size for the separator
  35.          *
  36.          * @return the Dimension object containing the separator's
  37.          *         preferred size
  38.          */
  39.         public Dimension getPreferredSize() {
  40.             return new Dimension(10,5);
  41.         }
  42. }